<template>
  <div>
    <HmForm ref="hmForm"></HmForm>

    <button @click="submit">提交</button>
  </div>
</template>

<script>
//vue该组件的核心配置项
import HmForm from './components/HmForm.vue'
export default {
  components: {
    HmForm,
  },
  methods: {
    submit() {
      this.$refs.hmForm.submit()
    },
  },
}
</script>
